<?php

return [
    'components' => [
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => true,
        ],
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=localhost;dbname=huashi',
            'username' => 'root',
            'password' => '',
            'charset' => 'utf8',
            'tablePrefix' => 'hs_',
            'enableSchemaCache' => !YII_DEBUG,
            'schemaCacheDuration' => 3600,
        ],
        'log' => [
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['info', 'error', 'warning'],
                    'logFile' => '@app/runtime/queue/' . date('Ym/d') . '.log',
                    'logVars' => ['_GET', '_POST'],
                    'categories' => ['queue'],
                ]
            ],
        ],
        'dysms' => [
            'accessKeyId' => 'LTAIXwcdEr7wamgY',
            'accessKeySecret' => 'BDcmDzvGl1Rnz8VLlW8AkTTqXCqUN4',
        ],
        'security' => [
            'public_key' => 'ZDwJ662qLL&#$N&C',
            'secret_key' => md5('key'),
        ],
        'rongyun' => [
            'appKey' => 'y745wfm8yj61v',
            'appSecret' => 'Nyxq3C3KjG',
        ],
        'wechat' => [
            'appId' => 'wx959a08c10d3bfbca',
            'appSecret' => '403a844ab565a61a66ea6cba3b0fa8d9',
        ],
        'wxpay' => [
            'appid' => 'wx7d806c4b152327c1',
            'mch_id' => '1511008871',
            'partner_key' => 'iovb2c79d4JCOYflAYsCSDIsK81UgTjZ',
        ],
        'alipay' => [
            'appId' => '2018050502637826',
            'rsaPrivateKey' => 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCNTVblzMoplqNwjNVq6z4tXkwjlDHPUPgg65jLLnb67zhI3oMFx/sdt5Jhk1hzy1qpUFw6LOmkek9VPr8mIkqhAWemsjpNF0FjE8DnCKmvtkbI2jz3cCXbsrXldoytLTYaRTaqX8FMoLTk9QUmeNWTYhO6R0+Lfd/dmILzQh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